package ecom.api;

import java.util.Date;

import ecom.entity.ChercheurEntity;
import ecom.entity.ProprietaireEntity;
import javax.ejb.Remote;

public interface IProprietaireRemote {
    
    public void create(String nom, String prenom, String pseudo, String mdp, String ville, int departement, String mail, int numtel, Date naissance, String role);

    public ProprietaireEntity findPseudo(String pseudo);
    
    public ProprietaireEntity ModifProprietaire(long idProprietaire, String nom, String prenom, String mail,
    		int numTel, String mdp,  Date dateNaissance, int departement, String ville);

    public ProprietaireEntity SaveProprietaire(ProprietaireEntity myChercheur);

}
